<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">

<head>
    <title th:text="${pageTitle}"></title>
    <div data-th-replace="layout/head-top"></div>
</head>
<body>
<div class="m-t-lg">
    <dl class="dl-horizontal">
        <dt>知识体系名称：</dt>
        <dd class="m-r"><span class="fs12 c-4e" th:text="${loreset['loresetName']}"></span></dd>
    </dl>
    <div class="hr-line-dashed"></div>
    <dl class="dl-horizontal">
        <dt>专业/科目：</dt>
        <dd class="m-r">
            <th:block th:if="!${#lists.isEmpty(loreset['subjectList'])}">
                    <span class="fs12 c-4e" th:each="subject,subIndex : ${loreset['subjectList']}">
                        <th:block th:text="${subject['subjectName']}+'/'"></th:block>
                        <th:block th:if="!${#lists.isEmpty(subject['childSubjectList'])}" th:each="child,index : ${subject['childSubjectList']}">
                            <th:block th:if="${index.last} == false" th:text="${child['subjectName']}+'/'"></th:block>
                            <th:block th:if="${index.last} == true" th:text="${child['subjectName']}"></th:block>
                        </th:block>
                        <th:block th:if="${#lists.isEmpty(subject['childSubjectList'])}">全部科目</th:block>
                        <th:block th:if="${subIndex.last}==false" th:utext="'<br/>'"></th:block>
                    </span>
            </th:block>
            <th:block th:if="${#lists.isEmpty(loreset['subjectList'])}">
                <span class="fs12 c-4e">—</span>
            </th:block>
        </dd>
    </dl>
    <div class="hr-line-dashed"></div>
    <dl class="dl-horizontal">
        <dt>包含的知识点：</dt>
        <dd class="m-r">
            <span class="fs12 c-4e" th:if="${loreset['loresetPointList']}==null or ${#lists.size(loreset['loresetPointList'])}==0">没有设置知识点数据</span>
            <span class="fs12 c-4e" th:if="${loreset['loresetPointList']}!=null and ${#lists.size(loreset['loresetPointList'])} > 0">
                    <span th:each="point : ${loreset['loresetPointList']}">
                        <span th:text="${point.pointName}"></span><br/>
                        <span th:if="${point['childLoresetPointList']}!=null and ${#lists.size(point['childLoresetPointList'])} >0" th:each="child : ${point['childLoresetPointList']}">
                            <span th:text="'&nbsp;&nbsp;&nbsp;&nbsp;└'+${child['pointName']}"></span><br/>
                        </span>
                        <br/>
                    </span>
                </span>
        </dd>
    </dl>
    <div class="hr-line-dashed"></div>
    <dl class="dl-horizontal">
        <dt>创建人：</dt>
        <dd class="m-r"><span class="fs12 c-4e" th:text="${loreset['sysUser']}==null?'—':${loreset['sysUser']['ralName']}"></span></dd>
    </dl>
    <div class="hr-line-dashed"></div>
    <dl class="dl-horizontal">
        <dt>创建时间：</dt>
        <dd class="m-r"><span class="fs12 c-4e" th:text="${#strings.substring(loreset['createTime'],0,16)}"></span></dd>
    </dl>
    <div class="hr-line-dashed"></div>
    <dl class="dl-horizontal">
        <dt>最后更新时间：</dt>
        <dd class="m-r"><span class="fs12 c-4e" th:text="${#strings.substring(loreset['updateTime'],0,16)}"></span></dd>
    </dl>
</div>
<div data-th-replace="layout/head-footer"></div>
</body>
</html>